home *** CD-ROM | disk | FTP | other *** search
- Path: easy.in-chemnitz.de!mkmk!floh
- From: floh@mkmk.in-chemnitz.de (Andre Weissflog)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: TMapping again!
- Message-ID: <Z31Wx*zA0@mkmk.in-chemnitz.de>
- Date: Wed, 10 Jan 1996 23:47:09 CET
- Reply-To: floh@mkmk.in-chemnitz.de
- References: <4d0ou6$835@astfgl.idb.hist.no>
- Distribution: world
- Organization: private uucp site
- X-Newsreader: Arn V 1.04
-
- In article <4d0ou6$835@astfgl.idb.hist.no>, Lasse Staff Jensen writes:
-
- > I have been following the discussion on fast tmapping
- > innerloops, and have a question conserning those
- > very fast loops (i.e two instructions per pixel).
- >
- 2 instructions per pixel for free texture mapping? How
- do you define 'instruction' ?
-
- > What do you guys do when the delta values are negative?
- > Clearly an addx.l will not work! Do you use some kind of
-
- This trick should also work with a negative adder, since the
- bit that once defined the adders sign is now somewhere in
- the middle of the longword and doesn't hurt. The real MSB
- is now only important for producing overflows (or underflows,
- just as you like it) of the fractional part. It wouldn't
- work that well if over/underflows of the integer part would
- happen but since [u,v] have a limited range of [0..txt size]
- this is unlikely anyway.
-
- > symetric tmap, or does the tmap repates outside the frame,
- > or what? Do you have several innerloops?
-
- Personally, I have 8 inner loops at the moment.
-
- But they handle linear, perspective corrected, non-shaded,
- gouraud-shaded, transparent mapping and all combinations
- thereof that make sense. I don't use the X-Flag trick however,
- and the more optimized versions live on the x86 anyway ;-/
-
- > Any pointers, anyone? Thanks in advance..
- >
-
- Sorry, I can only serve with a (void *).
-
- Bye,
- -Floh.
-
- ====//=== Andre Weissflog <floh@mkmk.in-chemnitz.de> =======
- ...// Sep'95: Return Of The Living Death...................
- \\// 90% of everything is crap (Sturgeon's Law)...........
- =\\===============================================Amiga!=
-
-